Page({
  data: {

  },
  set() {
    wx.navigateTo({
      url: '/pages/sethouse/sethouse?id=' + this.data.obj.id
    })
  },
  async onLoad(options) {
    const { data } = await wx.http.get(`/room/${decodeURIComponent(options.id)}`)
    this.setData({
      obj: data
    })
  },
})